﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="editContentLink_list.aspx.cs" Inherits="TRPOP.CMS.Web.Admin.editContentLink_list" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>内容管理-<%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../js/editContentLink_list.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <!--列表-->
    <table class="table_search"  cellpadding="0" cellspacing="2" width="100%" border="0">
        <tr>
            <td height="20" nowrap="nowrap">
             
            </td>
            <td height="20" nowrap="nowrap">
             
            </td>
            <td height="20" align="right" nowrap="nowrap">
                按发布日期查询:
            </td>
            <td height="20" align="left" nowrap="nowrap">
                <cms:TextBox runat="server" ID="txtPubTime" onclick="javascript:return new Calendar.display(this.id,event);"
                    Width="100px" />
                <input name="Go" class="button_style" type="button" value="执行" onclick="doing('date_search')">
            </td>
            <td height="20" align="right" nowrap="nowrap">
                关键字查询:
            </td>
            <td height="20" nowrap="nowrap">
              <cms:TextBox runat="server" ID="SearchKeywords" Width="80" MaxLength="100" />
                <input name="Go" class="button_style" type="button" value="执行" onclick="doing('keyword_search')"/>
            </td>
            <td class="hide">
                <img src="../../App_Themes/<%=TRPOP.CMS.Model.SystemInfoHelper.getSystemInfo().CMSThemes%>/images/search.gif" border="0" style="cursor: hand"
                    title="高级搜索" onclick="doing('search_pro')" /><span title="高级搜索" onclick="doing('search_pro')"
                        style="cursor: hand">高级搜索</span>
            </td>
        </tr>
    </table>
    <!--列表-->
    <table class="table_list">
        <tbody>
            <tr class="tr_title">
                <th width="15">
                </th>
                <th>
                    ID
                </th>          
                <cms:Repeater runat="server" ID="repTitleList">
                  <ItemTemplate>
                  <th>
                    <%#Eval("Name") %>
                </th>
                </ItemTemplate>
                </cms:Repeater>
                <th>
                    编辑
                </th>
                <th>
                    发布日期
                </th>                
            </tr>
            <cms:Repeater ID="rptList" runat="server">
                <ItemTemplate>
                    <tr class="tr_listitem" onmouseout="this.className='tr_mouseout'" onmouseover="this.className='tr_mouseover'">
                        <td>
                            <input type="checkbox" name="delid" value="<%# Eval("ContentId")%>" />
                        </td>
                        <td>
                            <%# Eval("ContentId")%>
                        </td>                       
                        <%#BindContentTableData(Eval("ExtendTableName"), Eval("ExtendId"), Eval("ContentId"), Eval("PubStatus"), Eval("Type"), Eval("TopWeight"), Eval("EliteWeight"))%>
                        
                        <td class="align_c">
                            <%#GetAdminNameById(Convert.ToInt32(Eval("UpdateUserId")))%>
                        </td>
                        <td class="align_c">
                            <%# Eval("PubTime")%>
                        </td>                        
                    </tr>
                </ItemTemplate>
            </cms:Repeater>
        </tbody>
    </table>
    <!--操作-->
    <table class="table_operator">
        <tr class="tr_operator">
            <td>
               
            </td>
            <td class="align_r">
                <input type="button" value="显示" class="button_style" onclick="doing('offset',0);" />
                <input type="text" size="7" value="15" id="offset" name="offset" />
                条记录
            </td>
        </tr>       
        <tr class="tr_pager">
            <td colspan="2">               
                <cms:PagerGet ID="Pager" runat="server" />
            </td>
        </tr>
    </table>    
    </form>
    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
                bind();
                $("#offset").val(<%=Pager.PageSize  %>);
               
        });
    </script>
</body>
</html>

